<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let week = prompt('请你输入星期数');
    switch (week) {
      case '星期一':
        document.write('Monday');
        // console.log('Monday');
        break;
      case '星期二':
        document.write('Tuesday');
        // console.log('Tuesday');
        break;
      case '星期三':
        document.write('Wednesday');
        // console.log('Wednesday');
        break;
      case '星期四':
        document.write('Thursday');
        // console.log('Thursday');
        break;
      case '星期五':
        document.write('Friday');
        // console.log('Friday');
        break;
      case '星期六':
        document.write('Saturday');
        // console.log('Saturday');
        break;
      case '星期日':
        document.write('Sunday');
        // console.log('Sunday');
        break;
      default:
        document.write('不对不对');
        // console.log('不对不对');
        break;
    }
  </script>
</body>

</html>